import '../css/microOnlineGame.scss'
import '../css/common/header.scss'
import '../css/common/footer.scss'


if (module.hot) { module.hot.accept() } // 实现热更新

setTimeout(()=>{
    console.log('miniGame');
}, 1000);

(function(){
    $('.nav ul li a').removeClass('active');
    $('.nav ul li a').eq(1).addClass('active');

    $('.option').click(function(){
        $(this).siblings().removeClass('selected');
        $(this).addClass('selected');
    })

    layui.use(['laypage'], function(){
        var laypage = layui.laypage;

        laypage.render({
            elem: 'page',
            count: 1000,
            limit: 24,
            last: '末页',
            prev: '上一页',
            next: '下一页',
            theme: '#ff8900'
        });
    })
})();
